<template>
    <div>
        <router-view v-if="showPhone" name="phone"></router-view>
        <router-view v-if="showPc" name="pc"></router-view>
    </div>
</template>

<script>

  export default {
    data() {
      return {
        showPhone: false,
        showPc: false
      }
    },
    mounted() {
      const os = this.publicFun.getOs()
      if (os.isPhone) {
        this.showPhone = true
      } else {
        this.showPc = true
      }
    },
    methods: {
    }

  };
</script>

